
const state = {
  selectedUI: null,
  enterUI: null
}

const mutations = {
  SET_SELECTED_UI: (state, ui) => {
    state.selectedUI = ui
  },
  SET_ENTER_UI: (state, ui) => {
    state.enterUI = ui
  },
}

const actions = {
  setSelectedUI({ commit }, ui) {
    commit('SET_SELECTED_UI', ui)
  },
  setEnterUI({ commit }, ui) {
    commit('SET_ENTER_UI', ui)
  }
}

export default {
  namespaced: true,
  state,
  mutations,
  actions
}
